Level 1 Module Overview
Topics:
Basic UI building, writing and calling methods
Learning Objectives:
- Create a basic UI using Swing components (JFrame, JPanel, JLabel)
- Write methods that take parameters and return values
- Call methods according to the method signature
Topics:
Constructors, member variables, encapsulation
Learning Objectives:
- Identify constructors in existing classes
- Declare and initialize an object
- Identify the member variables of an object
- Write constructors for new classes
- Use existing classes and methods in new code
Topics:
Objects, getters and setters (accessors and mutators), finding errors in code
Learning Objectives:
- Use getter and setter methods to interact with member variables
- Declare methods and variables as public or private according to their purpose
- Write test-driven code (JUnit)
- Identify errors in unfamiliar code
Topics:
Static context, inheritance, variable scope
Learning Objectives:
- Understand when and how to break out of the static context
- Use inheritance to share common behavior between objects
- Understand the scope of local and member variables
Topics:
Buttons, listeners, events, instantiation, "this"
Learning Objectives:
- Use constructors to instantiate objects according to the constructor signature
- Implement methods required to support mouse and keyboard listener interfaces
- Write code that will respond to user input from keyboard or mouse